package com.rs.game.player.dialogues.impl;

import com.rs.game.WorldTile;
import com.rs.game.player.content.Magic;
import com.rs.game.player.dialogues.Dialogue;

public class PvPTeleports extends Dialogue {

	@Override
	public void start() {
		sendOptionsDialogue("PvP Teleports", "Mage Bank", "Multi Area (PvP)", "Wests (PvP)", "Easts (PvP)", "Revenants");
	}

	@Override
	public void run(int interfaceId, int componentId) {
		switch (stage) {
		case -1:
			switch (componentId) {
			case OPTION_1:
				Magic.sendNormalTeleportSpell(player, 0, 0, new WorldTile(2538, 4715, 0));
				end();
				break;
			case OPTION_2:
				Magic.sendNormalTeleportSpell(player, 0, 0, new WorldTile(3240, 3611, 0));
				player.getControlerManager().startControler("Wilderness");
				end();
				break;
			case OPTION_3:
				Magic.sendNormalTeleportSpell(player, 0, 0, new WorldTile(4608, 5061, 0));
				end();
				break;
			case OPTION_4:
				Magic.sendNormalTeleportSpell(player, 0, 0, new WorldTile(2984, 3596, 0));
				player.getControlerManager().startControler("Wilderness");
				end();
				break;
			case OPTION_5:
				Magic.sendNormalTeleportSpell(player, 0, 0, new WorldTile(3071, 3649, 0));
				end();
				break;
			}
		}
	}

	@Override
	public void finish() {
		// TODO Auto-generated method stub
		
	}}